$OpenBSD: patch-getlhs_c,v 1.2 2016/12/05 13:57:20 jca Exp $

- handle pppoe interfaces

--- getlhs.c.orig	Fri Dec 26 15:31:29 2014
+++ getlhs.c	Sun Dec  4 20:53:14 2016
@@ -62,6 +62,7 @@ int dltype_to_lhs(int dltype)
 #ifdef DLT_ATM_CLIP
 	case DLT_ATM_CLIP:
 #endif
+	case DLT_PPP_ETHER:
 		lhs = 8;
 		break;
 #ifdef DLT_C_HDLC
